package com.vmj.instructions.references;

import com.vmj.heap.VMObject;
import com.vmj.instructions.base.NoOperandsInstruction;
import com.vmj.rtda.Frame;

/**
 * Created by yangshoujun on 2017/9/23 下午4:12.
 */
public class MonitorEnter extends NoOperandsInstruction {
    @Override
    public void execute(Frame frame) {
        VMObject ref = frame.getOperandStack().popRef();
        if(ref == null) {
//            throw new RuntimeException("java.lang.NullException");
        }
    }
}
